<template>
  <div>
    <!-- ------默认插槽------ -->
    <slot></slot>

    <!-- ------具名插槽------ -->
    <slot name="one"></slot>

    <!-- ------作用域插槽------ -->
    <slot name="two" :info="{ name: '张三', age: 18 }"></slot>
  </div>
</template>

<script setup lang="ts">

</script>

<style lang="scss" scoped></style>